package com.jacoco.incremental.config;

/**
 * 常量 获取yml key value
 * <p>
 * jacoco:
 * path:
 * source: #拉取代码存放路径
 * report: #存放报告路径
 * git:
 * url:  #必填 仅支持https
 * user:  #必填
 * pswd:  #必填
 * branch: # 默认master
 * v1: # 不填写默认比较最新2个版本 新版本号
 * v2: # 旧版本号
 * include: #包含类
 * exclude:
 * server:
 * ip:
 * port:
 */
public class ConfigConstant {
    public static final String JACOCO_CONFIG_BUILD = "build";


    public static final String V1_JACOCO = "jacoco";

    public static final String V2_CONFIG = "config";
    public static final String V2_PATH = "path";
    public static final String V2_GIT = "git";
    public static final String V2_SERVER = "server";

    public static final String V3_CONFIG_BUILD = "build";
    public static final String V3_CONFIG_POM = "pom";

    public static final String V3_PATH_SOURCE = "source";
    public static final String V3_PATH_REPORT = "report";
    public static final String V3_PATH_EXEC = "exec";

    public static final String V3_GIT_URL = "url";
    public static final String V3_GIT_USER = "user";
    public static final String V3_GIT_PSWD = "pswd";
    public static final String V3_GIT_BRANCH = "branch";
    public static final String V3_GIT_VERSION1 = "v1";
    public static final String V3_GIT_VERSION2 = "v2";
    public static final String V3_GIT_INCLUDE = "include";
    public static final String V3_GIT_EXCLUDE = "exclude";

    public static final String V3_GIT_SOURCE = "source";
    public static final String V3_GIT_CLASSES = "classes";


    public static final String V3_SERVER_IP = "ip";
    public static final String V3_SERVER_PORT = "port";

}
